vcMotionStatement

A base class for statements that can be used to program one or more motion(s) to a vcMotionController.

See in: Overview

Module: vcRobotics2

Parent: vcStatement

Children: vcJointMotionStatement, vcLinearMotionStatement, vcPtpMotionStatement

Referenced by: -

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
previewNoneNoneSets the robot to the position defined by the statement.
readFromControllerBooleanNoneReads the current state of the controller and necessary related objects, and stores relevant parts to initialize this statement's position.
See more
Exceptions:
RuntimeError: When respectLimits was true and the method couldn't converge on good values.

Returns:
Bool: True if the operation succeeded, otherwise False.
updateFromControllerBooleanNoneReads the current state of the controller and necessary related objects, and stores relevant parts to update this statement's position.
See more
Exceptions:
RuntimeError: When respectLimits was true and the method couldn't converge on good values.

Returns:
Bool: True if the operation succeeded, otherwise False.